
using System;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using L._52ABP.Application.Dtos;
using System.Collections.Generic;
using System.Threading.Tasks;
using LTMCompanyName.YoyoCmsTemplate.Exam.Dtos;
using LTMCompanyName.YoyoCmsTemplate.Exam;



namespace LTMCompanyName.YoyoCmsTemplate.Exam
{
    /// <summary>
    /// 题库应用层服务的接口方法
    ///</summary>
    public interface IStockAppService : IApplicationService
    {
        /// <summary>
		/// 获取题库的分页列表集合
		///</summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<StockListDto>> GetPaged(GetStocksInput input);


		/// <summary>
		/// 通过指定id获取题库ListDto信息
		/// </summary>
		Task<StockListDto> GetById(EntityDto<long> input);


        /// <summary>
        /// 返回实体题库的EditDto
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetStockForEditOutput> GetForEdit(NullableIdDto<long> input);


        /// <summary>
        /// 添加或者修改题库的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdate(CreateOrUpdateStockInput input);


        /// <summary>
        /// 删除题库
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Delete(EntityDto<long> input);

		
        /// <summary>
        /// 批量删除题库
        /// </summary>
        Task BatchDelete(List<long> input);


		
							//// custom codes
									
							

							//// custom codes end
    }
}
